<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	template="/templates/default.xhtml">
	<ui:define name="content">
		<h1>User List</h1>
		<h:form id="user">
			<div>#{userController.users}</div>
			<h:panelGrid columns="1" border="1" styleClass="smoke">
				<h:dataTable var="_user" value="#{userController.users}"
					rendered="#{not empty seats}" styleClass="simpletablestyle">
					<h:column>
						<f:facet name="header">Id</f:facet>
						#{_user.id}
					</h:column>
					<h:column>
						<f:facet name="header">Username</f:facet>
						#{_user.username}
					</h:column>
					<h:column>
						<f:facet name="header">Email</f:facet>
						#{_user.email}
					</h:column>
				</h:dataTable>
			</h:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>